import { defineComponent } from 'vue';
import { LdButton } from '~/src/components/Button';
import { closeLoading, showLoading } from '~/src/utils';
import { messageLoading } from '~/src/utils/tip';

export default defineComponent({
    setup() {


        return () => (<>
            测试2
            <LdButton onClick={() => {

                showLoading();


                // setTimeout(() => {
                //     closeLoading();
                // }, 3000)
            }}>测试</LdButton>
        </>);
    }
})